package com.yeah.sinaspider.dingtalk.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信配置
 *
 * @author yeah丶一页 (quhailong1995@gmail.com)
 */
@Component
@ConfigurationProperties(prefix = "spring.dingtalk.config")
public class DingtalkProperties {
    /**
     * 应用的唯一标识key
     */
    private String appkey;
    /**
     * 应用的密钥
     */
    private String appsecret;
    /**
     * 应用ID
     */
    public Long agentId;

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }
}
